Optimal. Leaf size=552 \[ -\frac{5\ 3^{3/4} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{\csc ^{\frac{2}{3}}(c+d x)+\sqrt [3]{\csc (c+d x)}+1}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{-\sqrt [3]{\csc (c+d x)}-\sqrt{3}+1}{-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1}\right ),-7-4 \sqrt{3}\right )}{4 \sqrt{2} d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} (a-a \csc (c+d x)) \sqrt{a \csc (c+d x)+a}}+\frac{15 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{\csc ^{\frac{2}{3}}(c+d x)+\sqrt [3]{\csc (c+d x)}+1}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{-\sqrt [3]{\csc (c+d x)}-\sqrt{3}+1}{-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{16 d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} (a-a \csc (c+d x)) \sqrt{a \csc (c+d x)+a}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a \csc (c+d x)+a}}-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a \csc (c+d x)+a}}-\frac{15 a \cot (c+d x)}{8 d \left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right ) \sqrt{a \csc (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.306694, antiderivative size = 552, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24, Rules used = {3806, 51, 63, 303, 218, 1877} \[ -\frac{5\ 3^{3/4} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{\csc ^{\frac{2}{3}}(c+d x)+\sqrt [3]{\csc (c+d x)}+1}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{-\sqrt [3]{\csc (c+d x)}-\sqrt{3}+1}{-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt{2} d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} (a-a \csc (c+d x)) \sqrt{a \csc (c+d x)+a}}+\frac{15 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{\csc ^{\frac{2}{3}}(c+d x)+\sqrt [3]{\csc (c+d x)}+1}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{-\sqrt [3]{\csc (c+d x)}-\sqrt{3}+1}{-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{16 d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right )^2}} (a-a \csc (c+d x)) \sqrt{a \csc (c+d x)+a}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a \csc (c+d x)+a}}-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a \csc (c+d x)+a}}-\frac{15 a \cot (c+d x)}{8 d \left (-\sqrt [3]{\csc (c+d x)}+\sqrt{3}+1\right ) \sqrt{a \csc (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3806
Rule 51
Rule 63
Rule 303
Rule 218
Rule 1877
Rubi steps
\begin{align*} \int \frac{\sqrt{a+a \csc (c+d x)}}{\csc ^{\frac{4}{3}}(c+d x)} \, dx &=\frac{\left (a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{1}{x^{7/3} \sqrt{a-a x}} \, dx,x,\csc (c+d x)\right )}{d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}\\ &=-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a+a \csc (c+d x)}}+\frac{\left (5 a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{1}{x^{4/3} \sqrt{a-a x}} \, dx,x,\csc (c+d x)\right )}{8 d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}\\ &=-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a+a \csc (c+d x)}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a+a \csc (c+d x)}}-\frac{\left (5 a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt [3]{x} \sqrt{a-a x}} \, dx,x,\csc (c+d x)\right )}{16 d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}\\ &=-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a+a \csc (c+d x)}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a+a \csc (c+d x)}}-\frac{\left (15 a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{a-a x^3}} \, dx,x,\sqrt [3]{\csc (c+d x)}\right )}{16 d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}\\ &=-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a+a \csc (c+d x)}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a+a \csc (c+d x)}}+\frac{\left (15 a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{1-\sqrt{3}-x}{\sqrt{a-a x^3}} \, dx,x,\sqrt [3]{\csc (c+d x)}\right )}{16 d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}+\frac{\left (15 \sqrt{\frac{1}{2} \left (2-\sqrt{3}\right )} a^2 \cot (c+d x)\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a-a x^3}} \, dx,x,\sqrt [3]{\csc (c+d x)}\right )}{8 d \sqrt{a-a \csc (c+d x)} \sqrt{a+a \csc (c+d x)}}\\ &=-\frac{15 a \cot (c+d x)}{8 d \left (1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{a+a \csc (c+d x)}}-\frac{3 a \cos (c+d x)}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a+a \csc (c+d x)}}-\frac{15 a \cos (c+d x) \csc ^{\frac{2}{3}}(c+d x)}{8 d \sqrt{a+a \csc (c+d x)}}+\frac{15 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{1+\sqrt [3]{\csc (c+d x)}+\csc ^{\frac{2}{3}}(c+d x)}{\left (1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}\right )^2}} E\left (\sin ^{-1}\left (\frac{1-\sqrt{3}-\sqrt [3]{\csc (c+d x)}}{1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}}\right )|-7-4 \sqrt{3}\right )}{16 d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}\right )^2}} (a-a \csc (c+d x)) \sqrt{a+a \csc (c+d x)}}-\frac{5\ 3^{3/4} a^2 \cot (c+d x) \left (1-\sqrt [3]{\csc (c+d x)}\right ) \sqrt{\frac{1+\sqrt [3]{\csc (c+d x)}+\csc ^{\frac{2}{3}}(c+d x)}{\left (1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}\right )^2}} F\left (\sin ^{-1}\left (\frac{1-\sqrt{3}-\sqrt [3]{\csc (c+d x)}}{1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt{2} d \sqrt{\frac{1-\sqrt [3]{\csc (c+d x)}}{\left (1+\sqrt{3}-\sqrt [3]{\csc (c+d x)}\right )^2}} (a-a \csc (c+d x)) \sqrt{a+a \csc (c+d x)}}\\ \end{align*}
Mathematica [C] time = 1.20123, size = 72, normalized size = 0.13 \[ -\frac{a \cos (c+d x) \left (5 \csc ^{\frac{4}{3}}(c+d x) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{4}{3},\frac{3}{2},1-\csc (c+d x)\right )+3\right )}{4 d \sqrt [3]{\csc (c+d x)} \sqrt{a (\csc (c+d x)+1)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.323, size = 0, normalized size = 0. \begin{align*} \int{\sqrt{a+a\csc \left ( dx+c \right ) } \left ( \csc \left ( dx+c \right ) \right ) ^{-{\frac{4}{3}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \csc \left (d x + c\right ) + a}}{\csc \left (d x + c\right )^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a \csc \left (d x + c\right ) + a}}{\csc \left (d x + c\right )^{\frac{4}{3}}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \left (\csc{\left (c + d x \right )} + 1\right )}}{\csc ^{\frac{4}{3}}{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \csc \left (d x + c\right ) + a}}{\csc \left (d x + c\right )^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]